package com.ruoyi.nonghu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName sys_crop
 */
@TableName(value ="sys_crop")
public class Crop implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 作物类型
     */
    private String types;

    /**
     * 肥料
     */
    private String manure;

    /**
     * 种植方式
     */
    private String ways;

    /**
     * 种植年度
     */
    private String annual;

    /**
     * 是否装袋
     */
    private String bagging;

    /**
     * 育苗周期
     */
    private String seedlings;

    /**
     * 灌溉周期
     */
    private String irrigate;

    /**
     * 施肥周期
     */
    private String fertilizer;

    /**
     * 除草周期
     */
    private String weeding;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 备注
     */
    private String decps;

    /**
     * 
     */
    private Integer cropId;

    @TableField(exist = false)
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    /**
     * 作物名称
     */
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public String getManure() {
        return manure;
    }

    public void setManure(String manure) {
        this.manure = manure;
    }

    public String getWays() {
        return ways;
    }

    public void setWays(String ways) {
        this.ways = ways;
    }

    public String getAnnual() {
        return annual;
    }

    public void setAnnual(String annual) {
        this.annual = annual;
    }

    public String getBagging() {
        return bagging;
    }

    public void setBagging(String bagging) {
        this.bagging = bagging;
    }

    public String getSeedlings() {
        return seedlings;
    }

    public void setSeedlings(String seedlings) {
        this.seedlings = seedlings;
    }

    public String getIrrigate() {
        return irrigate;
    }

    public void setIrrigate(String irrigate) {
        this.irrigate = irrigate;
    }

    public String getFertilizer() {
        return fertilizer;
    }

    public void setFertilizer(String fertilizer) {
        this.fertilizer = fertilizer;
    }

    public String getWeeding() {
        return weeding;
    }

    public void setWeeding(String weeding) {
        this.weeding = weeding;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDecps() {
        return decps;
    }

    public void setDecps(String decps) {
        this.decps = decps;
    }

    public Integer getCropId() {
        return cropId;
    }

    public void setCropId(Integer cropId) {
        this.cropId = cropId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Crop(Integer id, String types, String manure, String ways, String annual, String bagging, String seedlings, String irrigate, String fertilizer, String weeding, String address, String decps, Integer cropId, String name) {
        this.id = id;
        this.types = types;
        this.manure = manure;
        this.ways = ways;
        this.annual = annual;
        this.bagging = bagging;
        this.seedlings = seedlings;
        this.irrigate = irrigate;
        this.fertilizer = fertilizer;
        this.weeding = weeding;
        this.address = address;
        this.decps = decps;
        this.cropId = cropId;
        this.name = name;
    }

    public Crop() {
    }

    @Override
    public String toString() {
        return "Crop{" +
                "id=" + id +
                ", types='" + types + '\'' +
                ", manure='" + manure + '\'' +
                ", ways='" + ways + '\'' +
                ", annual='" + annual + '\'' +
                ", bagging='" + bagging + '\'' +
                ", seedlings='" + seedlings + '\'' +
                ", irrigate='" + irrigate + '\'' +
                ", fertilizer='" + fertilizer + '\'' +
                ", weeding='" + weeding + '\'' +
                ", address='" + address + '\'' +
                ", decps='" + decps + '\'' +
                ", cropId=" + cropId +
                ", name='" + name + '\'' +
                '}';
    }
}